﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace WindowsGame.Ui
{
    class UiUnitSelection : VisibleObject
    {
        public UiUnit UiUnit { get; set; }

        public UiUnitSelection(UiModel uiModel) : base(uiModel)
        {
            //uiModel.SelectedUnit = UiUnit;
        }

        public override Vector3 DiffuseColor
        {
            //get
            //{
            //    if (UiModel.HighlightedHexes.Contains(this))
            //    {
            //        return White;
            //    }
            //    else
            //    {
            //        return Cell.Target.TerrainType.Colour.ToVector3();
            //    }
            //}
            get { return Color.Blue.ToVector3(); }
            //set {  }
        }

        public override void Update(GameTime gameTime)
        {
            WorldTransform = UiUnit.WorldTransform;

            base.Update(gameTime);
        }
    }
}
